package com.java.xiaoBao;


/**
 * 定义迷宫图
 */
public class Matrix {


    static int[][] matrix =
            {
                    //0 1 2 3 4 5 6 7 8 9 10                19
                    {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1},//0
                    {1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1},//1
                    {1,1,1,0,1,1,0,1,1,1,1,1,1,1,0,1,1,1,0,1},//2
                    {1,1,1,0,1,1,0,0,0,0,0,0,1,1,1,0,0,1,0,1},//3
                    {1,1,1,0,1,1,1,1,1,1,1,0,0,0,1,1,0,0,0,1},//4
                    {1,1,1,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1},//5
                    {1,1,1,1,1,1,1,1,0,0,1,0,0,0,0,0,1,1,1,1},//6
                    {1,1,0,0,0,0,1,1,0,1,1,0,1,1,1,0,1,1,1,1},//7
                    {1,1,0,1,1,0,1,1,0,0,0,0,1,1,1,0,0,0,0,1},//8
                    {1,0,0,1,1,0,1,0,1,1,0,1,1,0,1,1,0,1,1,1},//9
                    {1,1,0,1,1,0,1,0,0,0,0,0,0,0,1,0,0,0,0,1},//10
                    {1,0,0,1,1,0,1,1,1,0,1,0,1,1,1,0,1,1,1,1},//11
                    {1,1,0,1,1,0,1,1,1,1,1,1,1,1,1,0,1,1,1,1},//12
                    {1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1},//13
                    {1,0,0,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1},//14
                    {1,1,0,1,1,0,0,0,0,1,1,1,1,0,0,0,0,0,0,0},//15
                    {1,1,0,1,1,1,1,1,1,1,0,1,1,0,1,1,1,1,1,1},//16
                    {1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1},//17
                    {1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1},//18
                    {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1} //19
            };

    //x的行数
    static final int row = matrix.length;
    //y的列数
    static final int col = matrix[0].length;
}
